﻿using System;
using System.ComponentModel.DataAnnotations;

namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name:     Attendance
    /// Author:         Wangzx
    /// Creation Date:  2012-3-19
    /// Description:    考勤
    /// QA:             
    /// -----------------------------------------
    /// </summary>
    public class Attendance
    {
        [Key]
        public int ID { get; set; }

        public int EmployeeId { get; set; }
        //考勤日期
        public DateTime AttendDate { get; set; }
        //上班时间
        public DateTime StartTime { get; set; }
        //下班时间
        public DateTime EndTime { get; set; }
        //考勤状态
        public string AttendaceStatus { get; set; }
        //考勤备注
        public string AttendaceRemark { get; set; }

        public virtual Employee Employee { get; set; }
    }
}
